package com.vogue.sms.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.vogue.sms.common.utils.PageUtils;
import com.vogue.sms.common.utils.Query;

import com.vogue.sms.dao.ApiRecordDataDao;
import com.vogue.sms.entity.ApiRecordDataEntity;
import com.vogue.sms.service.ApiRecordDataService;


@Service("ApirecordDataService")
public class ApiRecordDataServiceImpl extends ServiceImpl<ApiRecordDataDao, ApiRecordDataEntity> implements ApiRecordDataService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<ApiRecordDataEntity> page = this.selectPage(
                new Query<ApiRecordDataEntity>(params).getPage(),
                new EntityWrapper<ApiRecordDataEntity>()
        );

        return new PageUtils(page);
    }

}
